package com.yugao.fintech.antelope.system.model.rqrs.tenant;

import com.yugao.fintech.antelope.base.model.constants.ValidationCons;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Set;


@Getter
@Setter
public class TenantPackageBase {
    @Schema(description = "套餐名", example = "VIP")
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private String name;

    @Schema(description = "状态,参见 CommonCons", example = "1")
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private String status;

    @Schema(description = "备注", example = "好")
    private String remark;

    @Schema(description = "关联的菜单编号")
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private Set<Long> menuIds;

    @Schema(description = "关联的菜单场景")
    @NotNull(message = ValidationCons.NOT_EMPTY)
    private Long sceneId;
}
